﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LstLevelMember.ascx.cs" Inherits="Web.Cms.Member.LstLevelMember" %>

<asp:GridView ID="grvMember" runat="server" SkinID="AdminGridView" BackColor="#ffffff" AutoGenerateColumns="false">
    <Columns>               
        <asp:BoundField HeaderText="STT" ItemStyle-Width="20">
            <ItemStyle HorizontalAlign="Center" />
            <HeaderStyle HorizontalAlign="Center" />
        </asp:BoundField> 
         <asp:TemplateField HeaderText="Cấp" ItemStyle-Width="20">
            <ItemStyle HorizontalAlign="Center" />
            <HeaderStyle HorizontalAlign="Center" />
            <ItemTemplate>
                <%#Eval("leve")%>
            </ItemTemplate>
        </asp:TemplateField>              
        <asp:TemplateField HeaderText=" Họ và tên">
            <HeaderStyle HorizontalAlign="left" />
            <ItemStyle HorizontalAlign="left" /> 
            <ItemTemplate>
                <%#Eval("FullName")%>
            </ItemTemplate>
        </asp:TemplateField> 
        <asp:TemplateField HeaderText="Mã code" ItemStyle-Width="100">
            <ItemStyle HorizontalAlign="Center" />
            <HeaderStyle HorizontalAlign="Center" />
            <ItemTemplate>
                <%#Eval("CodeMember")%>
            </ItemTemplate>
        </asp:TemplateField>        
        <asp:TemplateField HeaderText="Mã người giới thiệu" ItemStyle-Width="150">
            <ItemStyle HorizontalAlign="Center" />
            <HeaderStyle HorizontalAlign="Center" />
            <ItemTemplate>
                <%#Eval("CodeMemberParent")%>
            </ItemTemplate>
        </asp:TemplateField>                              
    </Columns>
</asp:GridView>
<div></div><br /><br />
<div id="TopLine">   
    <asp:Repeater runat="server" ID="rptLeve" EnableViewState="false">
    <ItemTemplate>
        <b>Leve <%#Eval("Leve")%> có <%#Eval("SumLeve")%> thành viên --</b>
    </ItemTemplate>
    </asp:Repeater>  
    <br />
  
</div>
